package com.cloudbroker.bcs.csvc.credits.api.t2service;

import com.cloudbroker.bcs.csvc.credits.api.vo.back.*;
import com.cloudbroker.bcs.csvc.credits.api.vo.request.*;
import com.hundsun.jresplus.remoting.impl.annotation.Service;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceModule;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceParam;

/**
 * Created by lili19289 on 2016/10/26.
 */
@ServiceModule
public interface CreditsT2BizService {

    @Service(functionId = "847050", desc = "添加积分")
    public CreditsVO functionAddCredits(@ServiceParam("param") CreditsOperForm form);

    @Service(functionId = "847051", desc = "积分消耗")
    public CreditsVO functionConsumeCredits(@ServiceParam("param")CreditsOperForm form);

    @Service(functionId = "847052", desc = "个人积分查询")
    public CreditsVO functionGetCreditsByUser(@ServiceParam("param") UserCreditsForm form);

    @Service(functionId = "847053", desc = "积分列表查询")
    public ResultVO functionQueryCredits(@ServiceParam("param") QueryCreditsForm form);

    @Service(functionId = "847054", desc = "积分流水列表查询")
    public ResultVO functionQueryCreditsLog(@ServiceParam("param") QueryCreditslogForm form);

    
}
